package com.boyicloud.exchangeserver.common

data class ExchangeParam(val equipmentId: Long, val softwareId: Long)

data class OfflineParam(val ids: Array<Long>) {
    override fun equals(other: Any?): Boolean {
        if (this === other) return true
        if (javaClass != other?.javaClass) return false

        other as OfflineParam

        if (!ids.contentEquals(other.ids)) return false

        return true
    }

    override fun hashCode(): Int {
        return ids.contentHashCode()
    }
}
